// Initialise admin functions
private ["_playerUID"];
waitUntil {(getPlayerUID player) != ""};
_playerUID = getPlayerUID player;
if (!(_playerUID in Evo_Admins)) exitWith {};
// Initialise the map menu
player createDiarySubject ["adminMenu", "Admin Menu"];
player createDiaryRecord ["adminMenu", ["Admin Menu", 
"<br/>
<execute expression='[] call SXP_fnc_mapTP'>Map Teleport</execute><br/>
<executeClose expression='[] call SXP_fnc_spectator'>Admin Spectate</execute><br/>
<execute expression='[] call SXP_fnc_pilotList'>Pilot List</execute><br/>"]];